{% form_theme form 'IcsocUIBundle:Form:fields.html.twig' %}
{% extends 'IcsocUIBundle::base.html.twig' %}
{% block stylesheet %}
    {{ parent() }}
    {% stylesheets
    '@ace_css'
    filter='cssrewrite' filter='uglifycss'
    %}
    <link rel="stylesheet" href="{{ asset_url }}" />
 {% endstylesheets %}
{% endblock %}
{% block page_header %}
    <h1>
        Form Elements
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            Common form elements and layouts
        </small>
    </h1>
{% endblock %}
{% block content %}
    {{ form_start(form) }}
    {{ form_row(form.title) }}
    {{ form_row(form.ag_content) }}
    {{ form_row(form.teste) }}
    {{ form_row(form.save) }}
    {{ form_end(form) }}
{% endblock %}
{% block footer %}
    {% javascripts
    '@ace_js'
    filter='uglifyjs'
    %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
    <script>
        $('#intro_file').ace_file_input({
            no_file:'No File ...',
            btn_choose:'Choose',
            btn_change:'Change',
            droppable:false,
            onchange:null,

            thumbnail:false //| true | large
            //whitelist:'gif|png|jpg|jpeg'
            //blacklist:'exe|php'
            //onchange:''
            //
        });
    </script>
{% endblock %}
